﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BlackList.aspx.cs" Inherits="Support_BlackList" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>黑名单管理</title>
    <script type="text/javascript" src="../JavaScript/JQuery/jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="../JavaScript/JQuery/jquery-ui-1.8.16.custom.min.js"></script>
    <script type="text/javascript" src="../JavaScript/BlackList.js"></script>
    <link rel="Stylesheet" href="../CSS/redmond/jquery-ui-1.8.16.custom.css" />    
     <link rel="stylesheet" href="../CSS/BlackList.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="BlackListDiv">
        <asp:GridView ID="BlackList" runat="server" AutoGenerateColumns="False" EmptyDataText="对不起,未找到相关数据！" Width="100%" CssClass="ui-widget ui-widget-content" OnRowCommand="BlackList_RowCommand">
            <HeaderStyle CssClass="ui-widget-header" />
            <Columns>
                <asp:BoundField DataField="CELL_NAME" HeaderText="基站" SortExpression="CELL_NAME">
                </asp:BoundField>
                <asp:BoundField DataField="ADD_DATE" HeaderText="日期" SortExpression="ADD_DATE" />
                <asp:TemplateField>
                    <ItemStyle HorizontalAlign="Right" />
                    <ItemTemplate>
                        <asp:Button ID="ChargeStatus" runat="server" Font-Size="13px" CausesValidation="false" Text="撤销" CommandName="Charge" CommandArgument='<%# Bind("CELL_NAME")%>' CssClass="cancel" OnClientClick="return confirm('确认从黑名单取消该基站吗？');" />                        
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>  
        <div style="text-align:right;padding:5px;">
        <webdiyer:AspNetPager ID="BlackPager" runat="server" OnPageChanged="BlackPager_PageChanged">
        </webdiyer:AspNetPager></div>
    </div>
    </form>
</body>
</html>
